import type { ReactElement } from 'react';
// import type { UniqueIdentifier } from '@dnd-kit/core';

// type dataType = { id: UniqueIdentifier; [key: string]: any };
export type MainComProps<T = any> = {
	dragSort: boolean;
	data: T[];
	component: (data: T) => ReactElement;
	setData: (data: T[]) => void;
	primaryKey?: string;
};
